﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;

namespace MentorBackEnd.DA
{
    public class DataAccessor
    {
       
        public static SqlConnection GetConnection()
        {
            string connectionString = ConfigurationManager.ConnectionStrings["MainConnectionString"].ConnectionString;
            return new  SqlConnection(connectionString);
        }
             
    

    }
}